//
//  WMTipsView.h
//  WonderBaseSDK_Example
//
//  Created by zero on 2020/5/12.
//  Copyright © 2020 wenhaoChan. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^WMTipConfirmBlock)(void);

@interface WMTipsView : UIView

@property (nonatomic, copy) WMTipConfirmBlock confirmBlock;

/// 防沉迷弹窗
/// @param frame frame
/// @param type 类型 1 游戏时长达到限制  0 固定时间不能进入游戏
/// @param time 游戏时长
- (instancetype)initWithFrame:(CGRect)frame
                         type:(NSUInteger)type
                         time:(NSUInteger)time;

@end

NS_ASSUME_NONNULL_END
